package fr.epita.mti.event
{
	import flash.events.Event;
	
	/** Cette classe represente un evenement personnalise. Ce type d'evenement est pour notre projet
	 * @author laurent
	 */
	public class OnzheurEvent extends Event
	{
		// La liste des types d'evenements possibles
		public static const CUSTOM_EVENT_1:String = "PLAYER_PLAY";
		public static const CUSTOM_EVENT_2:String = "PLAYER_BACK";
		public static const CUSTOM_EVENT_3:String = "PLAYER_NEXT";
		public static const END_SEARCH:String = "END_SEARCH";
		public static const LIST_LOADED:String = "LIST_LOADED";
		public static const LIST_FULL:String = "LIST_FULL";
		/**
		 * Le constructeur
		 */
		public function OnzheurEvent(customEventString:String)
		{
			super(customEventString, true, false);
		}
		
		/**
		 * Ceci n'est pas un vrai clone
		 */
		public override function clone():Event {
			return new OnzheurEvent(type);
		}
		
	}
}